package com.matt.repository.base;

import com.matt.domain.Children;
import com.matt.foundation.DO.AdviseDetailDO;
import com.matt.foundation.DO.ChildrenListDO;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/7/11
 * *******************************
 */
public interface ClassesChildrenRepository {
    List<Object[]> findChildrenByClasses(String classesId);

    Children findAnyChildrenByClassesAndName(String classesId, String name);

    List<Object[]> findClassHourChildrenByClasses(String classesId);

    List<Object[]> findChildrenByClassesAndNurseryStatus(String classesId);

    List<ChildrenListDO> findChildrenByClassesTypeAndArea(Integer category, String areaId);

    List<AdviseDetailDO> findAdviseByClasses(String classesId);

    Long sumNurseryLimitCount(String areaId);
}
